package com.bblocks.common.anti_reptile.constant;

/**
 * 全局变量
 * @author Jin
 * @since 2024/3/23 10:14
 */
public class AntiReptileConsts {

    /**
     * key合并字符
     */
    public static final String JOINER = "::";

    /**
     * 反爬key前缀-redis
     */
    public static final String BB_ANTI_PRE = "BB_ANTI::";

    /**
     * 限流默认json返回
     */
    public static final String JSON_RET = "{\"code\":0,\"msg\":\"限流/黑名单咯!\",\"serviceTips\":\"限流/黑名单咯!\",\"sucFlag\":false}";

    /**
     * es 客户端名称
     */
    public static final String ES_CLIENT_ANTI = "es_client_anti";
}
